---
title: "SQL-VP-003: Retrieve MCO assignments for a policy (duplicate call)"
summary: Retrieves Managed Care Organization assignments for a policy via the Oracle view-policy package (duplicate of SQL-VP-002).
status: draft
owner: SAIF Claims BOF team
last_reviewed: 2026-08-21
library: SAIF.Business.View.Policy
reference_type: embedded
---

# SQL-VP-003 Retrieve MCO assignments for a policy (duplicate call)

Retrieves the same Managed Care Organization (MCO) assignment periods as
[SQL-VP-002](SQL-002-mco-getmco.md), but populates `clsPolicyMCOCollection` (a distinct item type,
`clsPolicyMCO`) rather than `clsMCOCollection`. This is documented separately because it is invoked
from a distinct class/file, even though the procedure call is byte-for-byte identical — flagged as
legacy/duplicate code, not a documentation error.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-VP-003 |
| **Operation type** | Read |
| **Execution method** | Stored procedure |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | StoredProcedure |
| **Business object** | `clsPolicyMCOCollection` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve` / `AfterRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `apolicynum` | Input | Decimal | N/A | Policy number to look up MCO assignments for. |
| `recordset` | Output (Cursor) | REF CURSOR | N/A | Result set containing MCO assignment rows. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| *(not directly visible — encapsulated in procedure body)* | SELECT | N/A |

## Sample SQL

```sql
BEGIN
  pk72846_view_policy.getmco(
    apolicynum => :apolicynum,
    recordset  => :recordset
  );
END;
```

*Identical call signature to SQL-VP-002; documented separately because it is invoked from a distinct
class/file (`clsPolicyMCOCollection.vb`), producing a distinct item type (`clsPolicyMCO`).*

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- `SAIF.Business.View.Policy\clsPolicyMCOCollection.vb`
